*** Settings ***
Library           AutoTestLibrary.py
Library           EnterToken.py
Library           Mail.py

*** Variables ***
${jump_host}      \    # 跳板机host
${jump_user}      \    # 跳板机用户名
${login_ip}       \    # 登录IP
${login_user}     \    # 登录用户名
${login_pwd}      \    # 登录密码
${login_pin}      \    # 登录pin code，6位
${dir_deploy}     \    # 部署目录，绝对路径
${dir_autotest}    ${dir_deploy}/autotest    # autotest目录
${dir_java_sdk_demo}    ${dir_autotest}/java-sdk-demo    # java-sdk-demo目录
${dir_console}    ${dir_autotest}/console    # console目录
${fisco_install_flag}    4    # fisco-bcos安装标志
${fisco_branch}    release-2.7.1    # fisco-bcos代码分支
${release_version}    2.7.1    # fisco-bcos release版本号
${remote_fisco}    ip|username|password|FISCO-BCOS绝对路径|scp端口    # 远程机器的FISCO-BCOS信息
${remote_console}    ip|username|password|console绝对路径|scp端口    # 远程机器console信息
${remote_java_sdk_demo}    ip|username|password|java-sdk-demo绝对路径|scp端口    # 远程机器java-sdk-demo信息
${ip_conf}        ip:1 agency1 1,2|ip:1 agency1 1,2    # build_chain时需要的ipconf信息
${ip_list}        ip,username,password,port|...    # ip列表
${build_chain_ext}    -T -i -p 31101,31201,8951    # 调用build_chain.sh所需的参数列表
${console_branch}    master    # console分支
${javasdk_branch}    main    # java-sdk-demo分支
${check_log_g1}    all|g:1#+++|6    # 检查节点日志打包是否正常，all代表检查所有节点，6代表检查两次的间隔为6s
${comm_deploy}    deploy HelloWorld->v_addr=self.use_key(output,"contract address")[0]    # console部署HelloWorld合约
${comm_press}     java -cp "apps/*:lib/*:conf/" org.fisco.bcos.sdk.demo.perf.PerformanceOk 50 10 1    # java-sdk-demo压测
${comm_curl}      curl -X POST --data '{"jsonrpc":"2.0","method":"getBlockNumber","params":[1],"id":1}' http://127.0.0.1:8951->v_test3=self.hex2dec(self.get_json(output)["result"])    # 调用rpc接口
${mysql_info}     ip,user,password,port,database    # ip,user,password,port,database
@{testlist}       13213    1111    333    23232    # list定义样例
&{testmap}        a=111    b=222    c=333    d=444    # dict定义样例
${e_subject}      Autotest Result    # 邮件主题
${e_from_address}    \    # 邮件发送者
${e_password}     \    # 邮箱密码
@{e_to_addresses}    # 邮件接受者
${e_smtp_server}    \    # 邮箱smtp服务
@{e_attch_files}    log.html    report.html    # 邮件附件
${python_sdk_branch}    master    # python sdk分支
${remote_python_sdk}    ip|username|password|python-sdk绝对路径|scp端口    # 远程python-sdk信息
${dir_python_sdk}    ${dir_autotest}/python-sdk    # python sdk目录
